home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / win_utl1 / 4nt252.zip / 4NT.DOC next >
Text File  |  1996-04-17  |  37KB  |  852 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.                       44
  9.                      44
  10.                     44      DDDDDDD        OOOOO        SSSSSS
  11.                    44       DDDDDDDD      OOOOOOO      SSSSSSSS
  12.                   44  44    DD     DD    OO     OO    SS
  13.                  44   44    DD     DD    OO     OO    SS
  14.                 44    44    DD     DD    OO     OO     SSSSSS
  15.                444444444    DD     DD    OO     OO      SSSSSS
  16.                 44444444    DD     DD    OO     OO           SS
  17.                       44    DD     DD    OO     OO           SS
  18.                       44    DDDDDDDD      OOOOOOO     SSSSSSSS
  19.                       44    DDDDDDD        OOOOO       SSSSSS
  20.  
  21.  
  22.                                    for Windows NT
  23.  
  24.  
  25.  
  26.                                      Version 2.52
  27.  
  28.  
  29.  
  30.  
  31.                         Introduction and Installation Guide
  32.  
  33.  
  34.  
  35.  
  36.  
  37.                                    Developed By
  38.                               Rex Conn and Tom Rawson
  39.  
  40.                                  Documentation By
  41.                      Hardin Brothers, Tom Rawson, and Rex Conn
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.                                    Published By
  49.  
  50.                                  JP Software Inc.
  51.                                    P.O. Box 1470
  52.                              East Arlington, MA 02174
  53.                                       U.S.A.
  54.  
  55.                                   (617) 646-3975
  56.                                 fax (617) 646-0904
  57.  
  58.  
  59.  
  60.  
  61.  
  62.                                   ACKNOWLEDGMENTS
  63.  
  64.  
  65.              We couldn't produce a product like 4DOS for Windows NT without
  66.              the dedication and quality work of many people.  Our thanks
  67.              to:
  68.  
  69.                   JP Software Staff:  Christine Alves, Mike Bessy, Michael
  70.                   Hart, Ellen Stone, Misty White.
  71.  
  72.                   Online Support:  Brian Miller and Tess Heder of Channel 1
  73.                   BBS; Don Watkins of CompuServe's IBMNET.
  74.  
  75.                   Beta Test Support:  The sysops of CompuServe's CONSULT
  76.                   forum.
  77.  
  78.                   Beta Testers:  We can't list all of our beta testers
  79.                   here!  A special thanks to all of you who helped make
  80.                   4DOS, 4OS2, and 4DOS/NT elegant, reliable, and friendly.
  81.  
  82.  
  83.  
  84.              The following tools are used in creating and maintaining 4DOS
  85.              for Windows NT:
  86.  
  87.                   Compilers:       Microsoft C, Microsoft Macro Assembler
  88.                                    386
  89.                   Editors:         Edix (Emerging Technology), Brief
  90.                                    (Solution Systems)
  91.                   Version Control: PVCS (Sage Software)
  92.                   Documentation:   Microsoft Word for Windows with Adobe
  93.                                    Type Manager
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.              Copyright 1993 - 1995, JP Software Inc., All Rights Reserved.
  104.              4DOS is a registered trademark and JP Software and the JP
  105.              Software logo and product logos are trademarks of JP Software
  106.              Inc.  Other product and company names are trademarks of their
  107.              respective owners.
  108.  
  109.                                                                        8-95
  110.                                                                    Contents
  111.         -------------------------------------------------------------------
  112.  
  113.  
  114.  
  115.         Contents
  116.  
  117.  
  118.         Introduction...............................................1
  119.             How to Use This Manual.................................2
  120.             Customer Service and Technical Support.................3
  121.  
  122.         Chapter 1 / Installation...................................4
  123.             Installing 4DOS/NT.....................................4
  124.             Creating 4DOS for Windows NT Desktop Objects...........5
  125.             4DOS/NT Files and Directories..........................6
  126.             Uninstalling 4DOS/NT...................................6
  127.  
  128.         Chapter 2 / Configuration..................................7
  129.             Creating and Configuring 4DOS/NT Objects...............7
  130.             4DOS/NT Command Line Options...........................8
  131.             4DOS/NT Help..........................................10
  132.             Using 4START and 4EXIT................................11
  133.  
  134.         Index.....................................................12
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.         -------------------------------------------------------------------
  166.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / i
  167.                                                                INTRODUCTION
  168.         -------------------------------------------------------------------
  169.  
  170.  
  171.  
  172.         INTRODUCTION
  173.  
  174.  
  175.         Welcome, and thanks for purchasing 4DOS for Windows NT!
  176.  
  177.         We developed 4DOS for Windows NT to bring the power and convenience
  178.         of our popular 4DOS and 4OS2 programs to users of the Windows NT
  179.         operating system.  Whether you are a computer novice or an
  180.         experienced user, 4DOS/NT will help you get the most out of your
  181.         Windows NT system.
  182.  
  183.         The complete name of this product is "4DOS for the Windows NT
  184.         Operating System."  For brevity in the manuals, we often refer to
  185.         it as "4DOS for Windows NT," "4DOS/NT," or to the program file
  186.         name, 4NT.EXE or just 4NT.  When "4DOS" is used by itself, the
  187.         reference is to our DOS product.  If you are already familiar with
  188.         4DOS, please note that 4DOS for Windows NT is a complete Windows NT
  189.         application, and not simply a version of 4DOS running under Windows
  190.         NT's DOS capabilities.
  191.  
  192.         Technically, 4DOS for Windows NT is a command interpreter.  That
  193.         means that it reacts to the commands you type at the [C:\] prompt.
  194.         It replaces CMD.EXE, the default command interpreter that is
  195.         supplied with Windows NT.  4DOS/NT offers hundreds of enhancements,
  196.         yet retains full compatibility with CMD.EXE commands and batch
  197.         files.
  198.  
  199.         If you are familiar with 4DOS, 4OS2, or the Windows NT command
  200.         prompt, you won't have to change your computing habits or unlearn
  201.         anything to use 4DOS/NT.  If you know how to use commands to
  202.         display a directory, copy a file, or start an application program,
  203.         you already know how to use 4DOS/NT.  And if you are a 4DOS user,
  204.         you already know how to use most of the advanced features that we
  205.         have built into 4DOS/NT.  You can even use many of your 4DOS batch
  206.         files with 4DOS/NT (see Chapter 3 of the Reference Manual for tips
  207.         about making batch files work properly in both environments).
  208.  
  209.         Once you have 4DOS/NT installed, you can learn its new features at
  210.         your own pace.  Relax, enjoy 4DOS/NT's power, and browse through
  211.         the manuals occasionally.  Press the F1 key whenever you need help.
  212.         4DOS/NT will soon become an essential part of your computer, and
  213.         you'll wonder how you ever got along without it.
  214.  
  215.         If you want to take 4DOS/NT for a spin without performing a
  216.         complete installation, see the separate Guided Tour documentation.
  217.  
  218.         We are constantly working to improve 4DOS for Windows NT.  If you
  219.         have suggestions for features or commands that we should include in
  220.         the next version, or any other way we could improve our product,
  221.  
  222.         -------------------------------------------------------------------
  223.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 1
  224.                                                                INTRODUCTION
  225.         -------------------------------------------------------------------
  226.  
  227.  
  228.         please let us know.  Many of the features in this version of
  229.         4DOS/NT were suggested by our users.  We can't promise to include
  230.         every suggestion, but we really do appreciate and pay attention to
  231.         your comments.
  232.  
  233.  
  234.         How to Use This Manual
  235.  
  236.              This manual is only one part of the documentation that you
  237.              will need for 4DOS/NT.  It introduces the product and will
  238.              help you install 4DOS/NT correctly on your computer.  It will
  239.              also help you understand some of the terms and concepts that
  240.              you will need to know to get the most from 4DOS/NT.
  241.  
  242.              The second part of our documentation is the separate Reference
  243.              Manual.  It contains complete information about the commands
  244.              and features of 4DOS/NT, plus its sister programs, 4DOS and
  245.              4DOS for Windows NT.
  246.  
  247.              You should start with this introductory manual whether you are
  248.              new to 4DOS/NT or you are upgrading from a previous version.
  249.              Once you have successfully installed 4DOS/NT, you can move
  250.              back and forth between this manual and the Reference Manual.
  251.  
  252.              For the sake of clarity, we have chosen not to indicate each
  253.              of the dozens of places in this manual where you can refer to
  254.              the Reference Manual for additional information.  If you see a
  255.              reference here to a 4DOS/NT command, the initialization file
  256.              4NT.INI, or any 4DOS/NT feature, you can be sure that detailed
  257.              information on that topic is available in the Reference
  258.              Manual.
  259.  
  260.              4DOS/NT also includes complete online help for all of its
  261.              built-in commands.  The online help provides much of the
  262.              information that is in the Reference Manual, but in an
  263.              electronic form which you can access quickly.  See page 10 for
  264.              more details about using the online help.
  265.  
  266.              Files distributed with 4DOS/NT cover important additional
  267.              information beyond what's included in the manuals.  README.DOC
  268.              contains general notes, highlights of the latest release, and
  269.              brief installation instructions for those upgrading from a
  270.              downloaded copy, and UPDATxxx.DOC contains detailed
  271.              information for users with older versions on what has changed
  272.              in the latest release ("xxx" is the version number).
  273.  
  274.              You will likely find some parts of the documentation too
  275.              simple or too technical for your tastes.  Unless you are
  276.              convinced that one of those sections holds just the
  277.              information you need for a specific task, feel free to skip to
  278.  
  279.         -------------------------------------------------------------------
  280.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 2
  281.                                                                INTRODUCTION
  282.         -------------------------------------------------------------------
  283.  
  284.  
  285.              the next part of the manual that is more to your liking.  You
  286.              can use almost every feature of 4DOS/NT without having to
  287.              worry about other features or commands.
  288.  
  289.  
  290.         Customer Service and Technical Support
  291.  
  292.              Technical support for 4DOS/NT is available via public
  293.              electronic support conferences, private electronic mail,
  294.              telephone, fax, and mail.  For complete details, including a
  295.              listing of electronic support conferences, see your Reference
  296.              Manual.
  297.  
  298.              Customer service is always available through the telephone and
  299.              fax numbers listed on the title page of this manual.  See your
  300.              Reference Manual or the online help for electronic mail
  301.              addresses for our Sales and Customer Service departments.
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336.         -------------------------------------------------------------------
  337.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 3
  338.                                                    CHAPTER 1 / INSTALLATION
  339.         -------------------------------------------------------------------
  340.  
  341.  
  342.  
  343.         CHAPTER 1 / INSTALLATION
  344.  
  345.  
  346.  
  347.         Installing 4DOS for Windows NT
  348.  
  349.              To install 4DOS/NT you must copy the files from your
  350.              distribution disk using the INSTALL program, then create one
  351.              or more desktop objects to run 4DOS/NT.  This section explains
  352.              how to copy the files to your hard disk.  See the next section
  353.              for details on creating and configuring desktop objects for
  354.              4DOS/NT.
  355.  
  356.              If you're installing a downloaded copy of 4DOS/NT, you will
  357.              not have an INSTALL program.  Instead, use the appropriate
  358.              decompression program (for example, PKUNZIP) to extract the
  359.              files from your download into a new directory.  Then follow
  360.              the instructions below to complete your installation.  If you
  361.              are updating from a previous version, check the README.DOC
  362.              file for update instructions.
  363.  
  364.              To begin the installation process, open a command prompt
  365.              window (use the "MS-DOS" object which comes with Windows NT)
  366.              and put the 4DOS/NT distribution diskette in drive A.  (You
  367.              can use drive B if you prefer, in which case you should
  368.              substitute "b" for "a" in the instructions below.)
  369.  
  370.              One of the files on the distribution diskette, README.1ST,
  371.              contains information that you should read before you install
  372.              4DOS/NT on your computer.  Type:
  373.  
  374.                   type a:readme.1st | more
  375.  
  376.              to view the file.  If you want to print a copy of the file,
  377.              type:
  378.  
  379.                   copy a:readme.1st prn
  380.  
  381.              After checking README.1ST, you can start the installation
  382.              process.  Type:
  383.  
  384.                   a:install
  385.  
  386.              and press the Enter key.
  387.  
  388.              Once the installation program has started, just follow the
  389.              instructions on the screen and 4DOS/NT will install itself on
  390.              your system.
  391.  
  392.  
  393.         -------------------------------------------------------------------
  394.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 4
  395.                                                    CHAPTER 1 / INSTALLATION
  396.         -------------------------------------------------------------------
  397.  
  398.  
  399.              If you want to run the Guided Tour to familiarize yourself
  400.              with 4DOS/NT, first install the files using the Full
  401.              Installation option on INSTALL's main menu.  Then see the
  402.              separate Guided Tour booklet (distributed with new copies of
  403.              4DOS/NT) for details on running the Tour.
  404.  
  405.              The 4DOS/NT files are contained in a special library file on
  406.              the distribution diskette.  You cannot simply copy the files
  407.              from the diskette onto your system.  You must use the
  408.              installation program to extract and decompress the 4DOS/NT
  409.              files if you want to perform a manual installation, or if you
  410.              need to replace a damaged 4DOS/NT file on your hard disk.
  411.  
  412.              You can halt the installation process at any time by pressing
  413.              Ctrl-X (hold down the Ctrl key and then press "X").
  414.  
  415.              If you also have our DOS command processor, 4DOS, do not
  416.              install 4DOS/NT in the same directory as 4DOS.  Some file
  417.              names (for example README.DOC) are the same in both products,
  418.              and the files should be kept separate to avoid confusion.
  419.  
  420.  
  421.         Creating 4DOS for Windows NT Desktop Objects
  422.  
  423.              Once you've extracted the 4DOS for Windows NT files, use the
  424.              following steps to create a 4DOS/NT object in the Main group
  425.              on your Windows NT desktop (use a different group if you
  426.              prefer):
  427.  
  428.                   * Select the "Main" group.
  429.  
  430.                   * Select the Program Manager "File" menu.
  431.  
  432.                   * Select "New."
  433.  
  434.                   * Select "Program item."
  435.  
  436.                   * Enter "4DOS/NT," or any other title you desire, in the
  437.                     Description field.
  438.  
  439.                   * Enter the full pathname for 4NT.EXE in the Command
  440.                     Line field (for example, "C:\4NT25\4NT.EXE").
  441.  
  442.                   * Enter the directory in which you want the 4DOS/NT
  443.                     window to start (if any) in the Working Directory
  444.                     field.
  445.  
  446.                   * Click on "OK" to accept the entry.
  447.  
  448.  
  449.  
  450.         -------------------------------------------------------------------
  451.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 5
  452.                                                    CHAPTER 1 / INSTALLATION
  453.         -------------------------------------------------------------------
  454.  
  455.  
  456.              This creates a basic desktop object which starts 4DOS/NT.  For
  457.              more details on configuring and tuning 4DOS/NT, see Chapter 2.
  458.  
  459.  
  460.         4DOS/NT Files and Directories
  461.  
  462.              The installation procedure places all 4DOS for Windows NT
  463.              files in a single directory.  You may move the files to
  464.              different directories, if you wish, but you do have to make
  465.              sure that the files can be found by the programs that need to
  466.              use them.  The following information will help you set up your
  467.              system correctly:
  468.  
  469.                   4NT.EXE is the 4DOS for Windows NT program file.  It must
  470.                   be in the directory specified in the Command Line field
  471.                   of every 4DOS for Windows NT object.
  472.  
  473.                   4NT.HLP contains the text for the 4DOS for Windows NT
  474.                   HELP command and F1 key.  4NT.HLP must be in the same
  475.                   directory as 4NT.EXE.
  476.  
  477.                   SHRALIAS.EXE is a small utility that saves the shared
  478.                   alias and history lists when 4DOS for Windows NT is not
  479.                   running.  SHRALIAS.EXE is normally stored in the same
  480.                   directory as 4NT.EXE.  The directory containing this file
  481.                   should be listed in your PATH statement.
  482.  
  483.  
  484.         Uninstalling 4DOS/NT
  485.  
  486.              We don't expect you to have any trouble using 4DOS/NT, but we
  487.              know some people feel more comfortable knowing how to
  488.              uninstall a product as well as install it.  Or, you may need
  489.              to remove 4DOS/NT from one system to move it to another
  490.              system.
  491.  
  492.              4DOS for Windows NT doesn't make any changes to the Windows NT
  493.              system files.  To remove 4DOS/NT, all you need to do is change
  494.              or delete any objects that refer directly to 4NT.EXE.  You can
  495.              then delete the 4DOS for Windows NT files from your hard
  496.              drive.
  497.  
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.         -------------------------------------------------------------------
  508.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 6
  509.                                                   CHAPTER 2 / CONFIGURATION
  510.         -------------------------------------------------------------------
  511.  
  512.  
  513.  
  514.         CHAPTER 2 / CONFIGURATION
  515.  
  516.  
  517.         This chapter explains how you can tune 4DOS/NT to make it as
  518.         efficient and as useful as possible in your computing environment.
  519.         Nearly everything in this chapter is for advanced users and those
  520.         with unusual needs.  If 4DOS/NT works the way you want it to after
  521.         installation, you can skip this chapter.  You may, however, want to
  522.         skim this material to see what options are available.
  523.  
  524.  
  525.         Creating and Configuring 4DOS/NT Objects
  526.  
  527.              You will typically start 4DOS/NT from an object on your
  528.              Windows NT desktop.  You can create as many 4DOS/NT objects as
  529.              you wish on the desktop.  Different objects can be used to
  530.              start 4DOS/NT in different modes, with different startup
  531.              commands or options, or to run different batch files or other
  532.              commands.  You can use these objects to run commonly-used
  533.              commands and batch files directly from the Windows NT desktop.
  534.  
  535.              Each object represents a different 4DOS/NT window.  You can
  536.              use the Properties screen for the object to set any necessary
  537.              command line parameters for 4DOS/NT such as a command to be
  538.              executed, any desired switches, and the name and path for
  539.              4NT.INI.  More information on command line switches and
  540.              options for 4DOS/NT is included later in this section.
  541.  
  542.              For general information on creating and configuring desktop
  543.              objects, see your Windows NT documentation.  See page 5 of
  544.              this manual for an example of how to create a new object for
  545.              4DOS/NT.
  546.  
  547.              When you configure a 4DOS/NT object, place the full path and
  548.              name for the 4NT.EXE file in the Command Line field, and put
  549.              any startup options that you want passed to 4DOS/NT (e.g.,
  550.              @inifile) after the 4NT.EXE file name.  For example:
  551.  
  552.                   Command Line:       C:\4NT25\4NT.EXE @C:\4NT.INI
  553.                   Working directory:  C:\
  554.  
  555.              To run a startup batch file when a particular 4DOS/NT object
  556.              is started, include the batch file name (with a path, if the
  557.              file is not in the startup directory) as the last item in the
  558.              Command Line field.  That batch file will be executed after
  559.              any 4START file but before the first prompt is displayed.  You
  560.              can use the batch file to set environment variables and
  561.              execute any other 4DOS/NT commands.  You can also execute any
  562.              internal 4DOS/NT command, external command, or alias by
  563.  
  564.         -------------------------------------------------------------------
  565.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 7
  566.                                                   CHAPTER 2 / CONFIGURATION
  567.         -------------------------------------------------------------------
  568.  
  569.  
  570.              placing its name in the Parameters field.  When you set up a
  571.              batch file or other command to run in this way you are using
  572.              the command option (see below).  For example:
  573.  
  574.                   Command Line:       C:\4NT25\4NT.EXE STARTNT.CMD
  575.                   Working directory:  C:\
  576.  
  577.              To execute an internal or external command, an alias, or a
  578.              batch file and then exit (return to the desktop) when it is
  579.              done, place /C command (rather than just command) as the last
  580.              item in the Parameters field.  For example:
  581.  
  582.                   Command Line:       D:\4NT25\4NT.EXE /C COMFILES.BTM
  583.                   Working directory:  C:\
  584.  
  585.  
  586.         4DOS/NT Command Line Options
  587.  
  588.              The 4DOS/NT command line does not need to contain any
  589.              information.  When invoked with an empty command line, 4DOS/NT
  590.              will configure itself from the 4NT.INI file, run 4START, and
  591.              then display a prompt and wait for you to type a command.
  592.              However, you may add information to the 4DOS/NT command line
  593.              that will affect the way it operates.
  594.  
  595.              Command line options for primary shells are set in the Command
  596.              Line field of the 4DOS/NT object.  Command line options for
  597.              secondary shells can be set on the secondary shell command
  598.              line.
  599.  
  600.              4DOS/NT recognizes several optional fields on the command
  601.              line.  All of the options go on one line.  If you use more
  602.              than one of these fields, their order is important.  The
  603.              syntax for the command line is:
  604.  
  605.                   [d:\path] [@d:\path\inifile] [//iniline]... [/L] [/LA]
  606.                   [/LD] [/LH] [/Q][/S] [/C | /K] [command]
  607.  
  608.              In the descriptions below, d: means a drive letter and \path
  609.              means a subdirectory name.
  610.  
  611.                   d:\path:  4DOS/NT will use this directory and path to set
  612.                   the COMSPEC environment variable for this window.  If
  613.                   this option is not used, COMSPEC is set from the location
  614.                   of 4NT.EXE.  Since 4DOS/NT always knows what drive and
  615.                   directory it was started from, there is little reason to
  616.                   use this option.  It is included only for compatibility
  617.                   with CMD.EXE.  This option cannot be used for secondary
  618.                   shells.
  619.  
  620.  
  621.         -------------------------------------------------------------------
  622.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 8
  623.                                                   CHAPTER 2 / CONFIGURATION
  624.         -------------------------------------------------------------------
  625.  
  626.  
  627.                   @d:\path\inifile:  This option sets the path and name of
  628.                   the 4NT.INI file.  You do not need this option if you
  629.                   aren't using a 4NT.INI file, or if the file is named
  630.                   4NT.INI and is stored in the same directory as 4NT.EXE or
  631.                   in the root directory of the boot drive.  This option is
  632.                   most useful if you want to start a 4DOS/NT window with a
  633.                   specific and unique .INI file.
  634.  
  635.                   //iniline:  This option tells 4DOS/NT to treat the text
  636.                   appearing between the // and the next space or tab as a
  637.                   4NT.INI directive.  The directive should be in the same
  638.                   format as a line in 4NT.INI, but it may not contain
  639.                   spaces, tabs, or comments.  This option overrides any
  640.                   corresponding directive in your 4NT.INI file.  It is a
  641.                   convenient way to send 4DOS/NT one or two simple
  642.                   directives without modifying or creating a new 4NT.INI
  643.                   file.
  644.  
  645.                   /L, /LA, /LD, and /LH:  These options force 4DOS/NT to
  646.                   use a local alias, command history, and / or directory
  647.                   history list.  This allows you to use global lists as the
  648.                   default, but start a specific 4DOS/NT window with local
  649.                   aliases or history.  See your Reference Manual for
  650.                   details on local and global aliases and history.  /LA
  651.                   forces local aliases, /LD forces local directory history,
  652.                   /LH forces local command history, and /L forces all
  653.                   three.
  654.  
  655.                   /Q:  This option has no effect.  It is included only for
  656.                   compatibility with CMD.EXE.
  657.  
  658.                   /S:  This option tells 4DOS/NT that you do not want it to
  659.                   set up a Ctrl-C / Ctrl-Break handler.  It is included for
  660.                   compatibility with CMD.EXE, but it may cause the system
  661.                   to operate incorrectly if you use this option without
  662.                   other software to handle Ctrl-C and Ctrl-Break.  This
  663.                   option should be avoided by most users.
  664.  
  665.                   [/C | /K] command:  This option tells 4DOS/NT to run a
  666.                   command when it starts.  The command will be run after
  667.                   4START has been executed and before any command prompt is
  668.                   displayed.  It can be any valid internal or external
  669.                   command, batch file, or alias; you may include multiple
  670.                   commands by using the command separator.  All other
  671.                   startup options must be placed before the command,
  672.                   because 4DOS/NT will treat characters after the command
  673.                   as part of the command and not as additional startup
  674.                   options.
  675.  
  676.  
  677.  
  678.         -------------------------------------------------------------------
  679.         Copr. 1995 JP Software Inc.     4DOS/NT Intro. & Install. Guide / 9
  680.                                                   CHAPTER 2 / CONFIGURATION
  681.         -------------------------------------------------------------------
  682.  
  683.  
  684.                   When the command is preceded by a /C, 4DOS/NT will
  685.                   execute the command and then exit and return to the
  686.                   parent program or the Windows NT desktop without
  687.                   displaying a prompt.
  688.  
  689.                   The /K switch has no effect; using it is the same as
  690.                   placing the command (without a /C or /K) at the end of
  691.                   the startup command line.  It is included only for
  692.                   compatibility with CMD.EXE.
  693.  
  694.  
  695.         4DOS/NT Help
  696.  
  697.              Complete on-line help for all 4DOS/NT commands and features is
  698.              provided with 4DOS/NT.  Help is invoked with the HELP command
  699.              or the F1 key.  4DOS/NT's help text does not cover the Windows
  700.              NT external commands because they are included in Windows NT's
  701.              built-in Command Reference.
  702.  
  703.              When you start the 4DOS/NT help system, 4DOS/NT opens a new
  704.              window to run the standard Windows NT help program.  The help
  705.              program displays the help text and lets you browse through it.
  706.  
  707.              If you invoke the help system from a 4DOS/NT window on the
  708.              Windows NT desktop, you will be returned to that window when
  709.              you close the help program.  However, if you have switched the
  710.              window to full-screen mode before invoking the help system,
  711.              you must return to 4DOS/NT manually (using standard Windows NT
  712.              methods for switching between windows).  This is due to the
  713.              design of Windows NT Help and is not a limitation of 4DOS/NT.
  714.  
  715.              You can also keep the help window on the screen and return to
  716.              the 4DOS/NT window, switching between the two windows as
  717.              needed.  This may be useful when you are writing a batch file,
  718.              working on a complex command, or experimenting with 4DOS/NT.
  719.  
  720.              In order for the 4DOS/NT help system to work properly, the
  721.              help text file, 4NT.HLP, must be in the same directory as
  722.              4NT.EXE.
  723.  
  724.              If you wish, you can set up a separate object for 4DOS/NT help
  725.              which can be invoked from your desktop.  To do so, create an
  726.              object with a command line like this:
  727.  
  728.                   Command Line:  WINHELP C:\4NT25\4NT.HLP
  729.  
  730.              (Change the drive and path to reflect the location of 4DOS/NT
  731.              on your system.)
  732.  
  733.  
  734.  
  735.         -------------------------------------------------------------------
  736.         Copr. 1995 JP Software Inc.    4DOS/NT Intro. & Install. Guide / 10
  737.                                                   CHAPTER 2 / CONFIGURATION
  738.         -------------------------------------------------------------------
  739.  
  740.  
  741.              4DOS/NT also supports the /? switch to display help for any
  742.              command.  Using /? will display help for the command using the
  743.              Windows NT help system.
  744.  
  745.  
  746.         Using 4START and 4EXIT
  747.  
  748.              4DOS/NT executes two batch files automatically:  4START is run
  749.              whenever 4DOS/NT starts, and 4EXIT is run whenever 4DOS/NT
  750.              exits.  4START and 4EXIT can be .CMD, .BAT, or .BTM files.
  751.  
  752.              If you create 4START.BTM and 4EXIT.BTM files, you can use them
  753.              for both 4DOS/NT and 4DOS.  Use the IFF command and the %_DOS
  754.              internal variable to separate commands which should be
  755.              executed under only one operating system.
  756.  
  757.              If you prefer to use different files for 4DOS/NT and 4DOS, you
  758.              can use 4START.CMD for 4DOS/NT and 4START.BAT for 4DOS.  You
  759.              could name your 4EXIT files similarly.  You can also keep the
  760.              4START and 4EXIT files separate by placing the files for
  761.              4DOS/NT in the 4DOS/NT directory and the files for 4DOS in the
  762.              4DOS directory.
  763.  
  764.              If 4DOS/NT is started with the [/C] command option, 4START is
  765.              executed before the command.
  766.  
  767.              See your Reference Manual for details on 4START and 4EXIT.
  768.  
  769.              If you prefer, you can create a file with a name other than
  770.              4START (for example, STARTNT.CMD) and put its name in the
  771.              Parameters field for any 4DOS/NT object (see page 7).  Doing
  772.              so has two advantages.  The file will only be started when a
  773.              primary 4DOS/NT shell is started, not under a secondary shell
  774.              or under 4DOS.  Also, you can then use different startup files
  775.              for different 4DOS/NT windows.
  776.  
  777.              For example, you might create a file called STARTNTA.CMD to
  778.              execute commands for one window, and another file STARTNTB.CMD
  779.              to execute different commands for a different window.  You
  780.              could then set up two objects with these settings:
  781.  
  782.                   Command Line:       C:\4NT25\4NT.EXE C:\STARTNTA.CMD
  783.                   Working directory:  C:\
  784.  
  785.                   Command Line:       C:\4NT25\4NT.EXE C:\STARTNTB.CMD
  786.                   Working directory:  C:\
  787.  
  788.  
  789.  
  790.  
  791.  
  792.         -------------------------------------------------------------------
  793.         Copr. 1995 JP Software Inc.    4DOS/NT Intro. & Install. Guide / 11
  794.                                                                       Index
  795.         -------------------------------------------------------------------
  796.  
  797.  
  798.         Index                               .INI file, see 4NT.INI
  799.  
  800.                                             Installation, 4
  801.         4DOS, and 4DOS/NT installation,         of downloaded updates, 4
  802.           5                                     reversing, 6
  803.                                                 stopping, 5
  804.         4DOS/NT
  805.             desktop objects, 7              Installing 4DOS/NT, 4
  806.             windows, 7
  807.                                             Local and global aliases and
  808.         4EXIT, 11                             histories, 9
  809.             and 4DOS, 11
  810.                                             Objects, see Desktop objects
  811.         4NT.INI
  812.             directives, on startup          Options, see Startup Options
  813.               command line, 9
  814.             location of, 7, 9               Quick help, 11
  815.             reference information, 2
  816.                                             README.1ST file, 4
  817.         4START, 11
  818.             and 4DOS, 11                    Reference information, 2
  819.             and startup command, 9
  820.                                             Reference Manual, 2
  821.         Alias list, local and global, 9
  822.                                             Startup options, 7, 8
  823.         Batch files, startup, 7                 //iniline, 9
  824.                                                 /C, 9
  825.         Command history list, local and         /K, 9
  826.           global, 9                             /L, /LA, /LD, and /LH, 9
  827.                                                 /S, 9
  828.         Commands                                @inifile, 9
  829.             4DOS/NT startup, 7, 9               commands in, 9
  830.             help on, 10
  831.             reference information, 2        STARTUP.CMD, 11
  832.  
  833.         Configuration, 7                    Support, 3
  834.  
  835.         Desktop objects, for 4DOS/NT, 7     Technical support, 3
  836.  
  837.         Directories, for 4DOS/NT files,     Uninstalling 4DOS/NT, 6
  838.           6
  839.                                             Windows, 4DOS/NT, 7
  840.         Directory history list, local
  841.           and global, 9
  842.  
  843.         Guided tour, 1
  844.  
  845.         Help system, 2, 10
  846.             /? option, 11
  847.  
  848.  
  849.         -------------------------------------------------------------------
  850.         Copr. 1995 JP Software Inc.    4DOS/NT Intro. & Install. Guide / 12
  851. 
  852.